package utils;

public class MyUtil {
    private static long start;

    public static void START() {
        System.out.println("方法开始执行");
        System.out.println("--------------------------------------------------");
        start = System.nanoTime();
    }

    public static void END() {
        long end = System.nanoTime();
        System.out.println();
        System.out.println("--------------------------------------------------");
        System.out.println("方法执行时间为：" + (end - MyUtil.start) + "ns");
    }
}
